﻿<Window x:Class="tscsclassgen.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525" Closing="Window_Closing">
    <Grid>
        <Menu HorizontalAlignment="Left" VerticalAlignment="Top">
            <MenuItem Header="File">
                <MenuItem Header="New" x:Name="MenuNew" Click="MenuNew_Click"/>
                <MenuItem Header="Open..." x:Name="MenuOpen" Click="MenuOpen_Click"/>
                <MenuItem Header="Save" x:Name="MenuSave" Click="MenuSave_Click"/>
                <MenuItem Header="Save AS..." x:Name="MenuSaveAs" Click="MenuSaveAs_Click"/>
                <MenuItem Header="EXit" x:Name="MenuExit" Click="MenuExit_Click"/>
            </MenuItem>
            <MenuItem Header="Tool" Visibility="Collapsed">
                <MenuItem Header="Edit External Names" x:Name="EditInternalTypes" Click="EditInternalTypes_Click"/>
            </MenuItem>
        </Menu>
        <StackPanel Orientation="Horizontal">
            <Button Content="Add New Class" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="10,20,0,0" Height="20" Width="100" x:Name="ButtonNewClass" Click="ButtonNewClass_Click"></Button>
            <Button Content="Remove This Class" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="10,20,0,0" Height="20" Width="130" x:Name="ButtonRemoveClass" Click="ButtonRemoveClass_Click"></Button>
        </StackPanel>
        <Button Content="Generate Source Code..." HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,20,10,0" Height="20" Width="180" x:Name="ButtonGenerate" Click="ButtonGenerate_Click"></Button>
        <TextBlock Text="Classes" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,40,0,0" Height="20"></TextBlock>
        <ListBox HorizontalAlignment="Left" VerticalAlignment="Stretch" Width="100" Margin="0,60,0,0" x:Name="ListBoxClasses" SelectionChanged="ListBoxClasses_SelectionChanged" />
        <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="100,60,0,0">
            <StackPanel Orientation="Horizontal">
                <TextBlock Text="Class Name " VerticalAlignment="Top"></TextBlock>
                <TextBox Width="100" VerticalAlignment="Top" x:Name="TextBoxClassName" TextChanged="TextBoxClassName_TextChanged"></TextBox>
                <TextBlock Text=" Inherit From " VerticalAlignment="Top"></TextBlock>
                <ComboBox Width="130" VerticalAlignment="Top" x:Name="ComboBoxInheritFrom" SelectionChanged="ComboBoxInheritFrom_SelectionChanged"></ComboBox>
            </StackPanel>
            <Button HorizontalAlignment="Left" VerticalAlignment="Top" Content="Add New Member" Margin="0,20,0,0" x:Name="ButtonAddNewMember" Click="ButtonAddNewMember_Click"></Button>
            <ListView HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="0,40,0,0" x:Name="ListViewMembers">
            </ListView>
        </Grid>
    </Grid>
</Window>
